[Ivy]
[>Created: Tue Mar 04 11:20:52 ICT 2014]
144714A2B338240C 3.17 #module
>Proto >Proto Collection #zClass
Ts0 TaskPanelProcess Big #zClass
Ts0 RD #cInfo
Ts0 #process
Ts0 @TextInP .ui2RdDataAction .ui2RdDataAction #zField
Ts0 @TextInP .rdData2UIAction .rdData2UIAction #zField
Ts0 @TextInP .resExport .resExport #zField
Ts0 @TextInP .type .type #zField
Ts0 @TextInP .processKind .processKind #zField
Ts0 @AnnotationInP-0n ai ai #zField
Ts0 @TextInP .xml .xml #zField
Ts0 @TextInP .responsibility .responsibility #zField
Ts0 @RichDialogInitStart f0 '' #zField
Ts0 @RichDialogProcessEnd f1 '' #zField
Ts0 @PushWFArc f2 '' #zField
Ts0 @RichDialogProcessEnd f4 '' #zField
Ts0 @RichDialogInitStart f3 '' #zField
Ts0 @PushWFArc f5 '' #zField
Ts0 @RichDialogProcessEnd f7 '' #zField
Ts0 @GridStep f9 '' #zField
Ts0 @PushWFArc f8 '' #zField
Ts0 @RichDialogMethodStart f6 '' #zField
Ts0 @PushWFArc f10 '' #zField
>Proto Ts0 Ts0 TaskPanelProcess #zField
Ts0 f0 guid 144714A2B4C201B0 #txt
Ts0 f0 type component.TaskPanel.TaskPanelData #txt
Ts0 f0 method start() #txt
Ts0 f0 disableUIEvents true #txt
Ts0 f0 inParameterDecl 'ch.ivyteam.ivy.richdialog.exec.RdMethodCallEvent methodEvent = event as ch.ivyteam.ivy.richdialog.exec.RdMethodCallEvent;
<> param = methodEvent.getInputArguments();
' #txt
Ts0 f0 outParameterDecl '<> result;
' #txt
Ts0 f0 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>start()</name>
    </language>
</elementInfo>
' #txt
Ts0 f0 86 54 20 20 13 0 #rect
Ts0 f0 @|RichDialogInitStartIcon #fIcon
Ts0 f1 type component.TaskPanel.TaskPanelData #txt
Ts0 f1 86 150 20 20 13 0 #rect
Ts0 f1 @|RichDialogProcessEndIcon #fIcon
Ts0 f2 expr out #txt
Ts0 f2 96 74 96 150 #arcP
Ts0 f4 type component.TaskPanel.TaskPanelData #txt
Ts0 f4 270 150 20 20 13 0 #rect
Ts0 f4 @|RichDialogProcessEndIcon #fIcon
Ts0 f3 guid 14476BC444A6F498 #txt
Ts0 f3 type component.TaskPanel.TaskPanelData #txt
Ts0 f3 method startWithParams(simpleTaskBoard.dto.TaskDTO) #txt
Ts0 f3 disableUIEvents true #txt
Ts0 f3 inParameterDecl 'ch.ivyteam.ivy.richdialog.exec.RdMethodCallEvent methodEvent = event as ch.ivyteam.ivy.richdialog.exec.RdMethodCallEvent;
<simpleTaskBoard.dto.TaskDTO task> param = methodEvent.getInputArguments();
' #txt
Ts0 f3 outParameterDecl '<> result;
' #txt
Ts0 f3 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>startWithParams(TaskDTO)</name>
    </language>
</elementInfo>
' #txt
Ts0 f3 270 54 20 20 13 0 #rect
Ts0 f3 @|RichDialogInitStartIcon #fIcon
Ts0 f5 expr out #txt
Ts0 f5 280 74 280 150 #arcP
Ts0 f7 type component.TaskPanel.TaskPanelData #txt
Ts0 f7 270 342 20 20 13 0 #rect
Ts0 f7 @|RichDialogProcessEndIcon #fIcon
Ts0 f9 actionDecl 'component.TaskPanel.TaskPanelData out;
' #txt
Ts0 f9 actionTable 'out=in;
' #txt
Ts0 f9 actionCode 'import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import simpleTaskBoard.dto.TaskDTO;
import simpleTaskBoard.business.TaskBusiness;
TaskBusiness bus= new TaskBusiness();
TaskDTO task= bus.getByID(in.taskID);
task.status="work";
task.assigned= ivy.session.getSessionUser().getName();
try{
	bus.updateTask(task);
}catch(Exception e){
	 FacesContext context = FacesContext.getCurrentInstance();  
   context.addMessage(null, new FacesMessage("Infomation", e.getMessage()));     
}' #txt
Ts0 f9 type component.TaskPanel.TaskPanelData #txt
Ts0 f9 262 284 36 24 20 -2 #rect
Ts0 f9 @|StepIcon #fIcon
Ts0 f8 expr out #txt
Ts0 f8 280 308 280 342 #arcP
Ts0 f6 guid 1448B1391AC88959 #txt
Ts0 f6 type component.TaskPanel.TaskPanelData #txt
Ts0 f6 method moveTaskToWork(java.lang.Long) #txt
Ts0 f6 disableUIEvents false #txt
Ts0 f6 inParameterDecl 'ch.ivyteam.ivy.richdialog.exec.RdMethodCallEvent methodEvent = event as ch.ivyteam.ivy.richdialog.exec.RdMethodCallEvent;
<java.lang.Long id> param = methodEvent.getInputArguments();
' #txt
Ts0 f6 inParameterMapAction 'out.taskID=param.id;
' #txt
Ts0 f6 outParameterDecl '<> result;
' #txt
Ts0 f6 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>moveTaskToWork(Long)</name>
        <nameStyle>20,5,7
</nameStyle>
    </language>
</elementInfo>
' #txt
Ts0 f6 270 222 20 20 13 0 #rect
Ts0 f6 @|RichDialogMethodStartIcon #fIcon
Ts0 f10 expr out #txt
Ts0 f10 280 242 280 284 #arcP
>Proto Ts0 .type component.TaskPanel.TaskPanelData #txt
>Proto Ts0 .processKind HTML_DIALOG #txt
>Proto Ts0 -8 -8 16 16 16 26 #rect
>Proto Ts0 '' #fIcon
Ts0 f0 mainOut f2 tail #connect
Ts0 f2 head f1 mainIn #connect
Ts0 f3 mainOut f5 tail #connect
Ts0 f5 head f4 mainIn #connect
Ts0 f9 mainOut f8 tail #connect
Ts0 f8 head f7 mainIn #connect
Ts0 f6 mainOut f10 tail #connect
Ts0 f10 head f9 mainIn #connect
